package com.xintai.approval.service.impl;

import com.xintai.approval.domain.Roles;
import com.xintai.approval.mapper.RolesMapper;
import com.xintai.approval.service.RolesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RolesServiceIpml implements RolesService {

    @Autowired
    private RolesMapper rolesMapper;

    @Override
    public List<Roles> selectRoles(Roles roles) {
        return rolesMapper.selectRoles(roles);
    }
}
